package org.fangzz.cameramgr.cameramonitor.dto;

/**
 * 开始直播监控的请求返回
 * Created by cengruilin on 2018/6/7.
 */
public class StartLiveMonitorResponse {
    /**
     * 播放地址
     */
    private String playAddress;
    private int status;
    private String msg;

    public static StartLiveMonitorResponse result(int resultCode, String playAddress, String msg) {
        StartLiveMonitorResponse response = new StartLiveMonitorResponse();
        response.setStatus(resultCode);
        response.setPlayAddress(playAddress);
        response.setMsg(msg);
        return response;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getPlayAddress() {
        return playAddress;
    }

    public void setPlayAddress(String playAddress) {
        this.playAddress = playAddress;
    }
}
